//
//  DCAPIManager.h
//  DCProject
//
//  Created by bigbing on 2019/4/22.
//  Copyright © 2019 bigbing. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "DCHttpClient.h"

typedef void(^DCSuccessBlock)(id response);
typedef void(^DCListSuccessBlock)(NSArray * array,BOOL hasNextPage);
typedef void(^DCFailtureBlock)(NSError * error);

NS_ASSUME_NONNULL_BEGIN

@interface DCAPIManager : NSObject

#pragma mark - 单列
+ (DCAPIManager *)shareManager;


#pragma mark - 发送验证码
- (void)dc_requestSendCodeWithPhone:(NSString *)phone
                          WithPhone:(NSString *)type
                            success:(DCSuccessBlock)success
                           failture:(DCFailtureBlock)failture;




@end

NS_ASSUME_NONNULL_END
